package justbuy.payment.model;

import java.util.Date;

import org.ironrhino.core.model.BaseEntity;

/*
 * 支付单
 */

public class PaymentInvoice extends BaseEntity {

	private static final long serialVersionUID = -2383828452806354777L;

	private String orderNumber;

	private String method; // alipay paypal

	private String invoiceNumber;

	private Date payDate;

	public String getOrderNumber() {
		return orderNumber;
	}

	public void setOrderNumber(String orderNumber) {
		this.orderNumber = orderNumber;
	}

	public String getMethod() {
		return method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public String getInvoiceNumber() {
		return invoiceNumber;
	}

	public void setInvoiceNumber(String invoiceNumber) {
		this.invoiceNumber = invoiceNumber;
	}

	public Date getPayDate() {
		return payDate;
	}

	public void setPayDate(Date payDate) {
		this.payDate = payDate;
	}

	@Override
	public String toString() {
		return invoiceNumber;
	}
}
